<?xml version="1.0" encoding="UTF-8"?>
<content>
	<page name="admin_users" relinfo="no">
		<title>Administer users</title>
		<section name="">
			<title>Edit details</title>
			<fields>
				<actions>
					<action type="service" label="Update user" order="2" name="Users" process="Edit" link="admin_users"/>
					<action type="back" label="Back" order="1"/>
				</actions>
				<fld name="Username" wf_obj="x_input" input="readonly">
					<prompt>Username</prompt>
				</fld>
				<fld name="Group" wf_obj="x_group"/>
				<fld name="Firstname" wf_obj="x_input">
					<mandatory>Y</mandatory>
					<prompt>First name</prompt>
					<hintvalid>Please enter your first name</hintvalid>
				</fld>
				<fld name="Surname" wf_obj="x_input">
					<mandatory>Y</mandatory>
					<prompt>Surname</prompt>
					<hintvalid>Please enter your surname</hintvalid>
				</fld>
				<fld name="Email" wf_obj="x_email"/>
				<fld name="Telno" wf_obj="x_telno"/>
			</fields>
		</section>
		<section name="">
			<title>Thoughtspaces</title>
			<subtitle>available to this user</subtitle>
			<grpform name="Spaces" button="none" footer="yes" xslsort="yes">
				<action link="admin_userspaces" type="service" name="Users" process="GetSpaces"/>
				<title>Thoughtspace list</title>
				<filters/>
				<head>
					<heading name="name" sort="name">Identifier</heading>
					<heading name="description" sort="description">Description</heading>
					<heading name="type" sort="type">Format</heading>
					<heading name="default" sort="default">Default?</heading>
					<heading type="action-drop" id="name" size="130">
						<action type="service" name="Users" process="GetAddSpace" link="admin_userspaces">Add</action>
						<actions button="btnGO">
							<action type="service" name="Users" process="DefaultSpace" link="admin_userspaces">Set default</action>
							<action type="service" name="Users" process="DeleteSpace" link="admin_userspaces">Delete</action>
						</actions>
					</heading>
				</head>
				<items/>
			</grpform>
		</section>
		<foot/>
	</page>
</content>
